package com.jiantong.work.service;

import com.jiantong.work.model.ImmunizationDetection;
import io.terminus.common.model.Response;

import java.util.Map;

/**
 * Created by Administrator on 2017/3/17.
 */
public interface ImmunizationDetectionWriteService {
    /**
     * 防疫中心-免疫检测 创建新单据
     * @param immunizationDetection 单据对象
     * @return 主键id
     */
    Response<Map<String,Object>> create(ImmunizationDetection immunizationDetection,Integer toStatus);

    /**
     * 防疫中心-免疫检测 更新单据
     * @param immunizationDetection 单据对象
     * @return true or false
     */
    Response<Map<String,Object>> update(ImmunizationDetection immunizationDetection,Integer toStatus);

    Boolean update(ImmunizationDetection immunizationDetection);
}
